.class public Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;
.super Landroid/graphics/drawable/Drawable;
.source "FootprintImageManager.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/htc/android/footprints/utils/camera/FootprintImageManager;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "FastBitmapDrawable"
.end annotation


# instance fields
.field private mBitmap:Landroid/graphics/Bitmap;


# direct methods
.method public constructor <init>(Landroid/graphics/Bitmap;)V
    .locals 0
    .parameter "b"

    .prologue
    .line 631
    invoke-direct {p0}, Landroid/graphics/drawable/Drawable;-><init>()V

    .line 632
    iput-object p1, p0, Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;

    .line 633
    return-void
.end method


# virtual methods
.method public draw(Landroid/graphics/Canvas;)V
    .locals 5
    .parameter "canvas"

    .prologue
    .line 638
    :try_start_0
    iget-object v1, p0, Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;

    const/4 v2, 0x0

    const/4 v3, 0x0

    const/4 v4, 0x0

    invoke-virtual {p1, v1, v2, v3, v4}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 642
    :goto_0
    return-void

    .line 639
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 640
    .local v0, e:Ljava/lang/Exception;
    invoke-virtual {v0}, Ljava/lang/Exception;->printStackTrace()V

    goto :goto_0
.end method

.method public getBitmap()Landroid/graphics/Bitmap;
    .locals 1

    .prologue
    .line 628
    iget-object v0, p0, Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;

    return-object v0
.end method

.method public getHeight()I
    .locals 1

    .prologue
    .line 662
    iget-object v0, p0, Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getHeight()I

    move-result v0

    return v0
.end method

.method public getOpacity()I
    .locals 1

    .prologue
    .line 646
    const/4 v0, -0x1

    return v0
.end method

.method public getWidth()I
    .locals 1

    .prologue
    .line 658
    iget-object v0, p0, Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->getWidth()I

    move-result v0

    return v0
.end method

.method public recycle()V
    .locals 1

    .prologue
    .line 624
    iget-object v0, p0, Lcom/htc/android/footprints/utils/camera/FootprintImageManager$FastBitmapDrawable;->mBitmap:Landroid/graphics/Bitmap;

    invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V

    .line 625
    return-void
.end method

.method public setAlpha(I)V
    .locals 0
    .parameter "alpha"

    .prologue
    .line 651
    return-void
.end method

.method public setColorFilter(Landroid/graphics/ColorFilter;)V
    .locals 0
    .parameter "cf"

    .prologue
    .line 655
    return-void
.end method
